﻿using System;
using System.Runtime.Serialization;

namespace DM4
{
    [DataContract( Name = "GlobalInfo")]
    public class GlobalInfo
    {
        [DataMember(Name = "Version", Order = 0, IsRequired = true)]
        public string Version;

        [DataMember(Name = "ServerTime", Order = 1, IsRequired = true)]
        public DateTime ServerTime;

        [DataMember(Name = "StartupTime", Order = 2, IsRequired = true)]
        public TimeSpan StartupTime;

        [DataMember(Name = "Traffic", Order = 3, IsRequired = true)]
        public double Traffic;
    }
}
